3.12 \(\int \left (A+B x^2\right ) \left (b x^2+c x^4\right )^2 \, dx\)

Optimal. Leaf size=55 \[ \frac{1}{5} A b^2 x^5+\frac{1}{9} c x^9 (A c+2 b B)+\frac{1}{7} b x^7 (2 A c+b B)+\frac{1}{11} B c^2 x^{11} \]

[Out]

(A*b^2*x^5)/5 + (b*(b*B + 2*A*c)*x^7)/7 + (c*(2*b*B + A*c)*x^9)/9 + (B*c^2*x^11)
/11

_______________________________________________________________________________________

Rubi [A]  time = 0.118965, antiderivative size = 55, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.095 \[ \frac{1}{5} A b^2 x^5+\frac{1}{9} c x^9 (A c+2 b B)+\frac{1}{7} b x^7 (2 A c+b B)+\frac{1}{11} B c^2 x^{11} \]

Antiderivative was successfully verified.

[In]  Int[(A + B*x^2)*(b*x^2 + c*x^4)^2,x]

[Out]

(A*b^2*x^5)/5 + (b*(b*B + 2*A*c)*x^7)/7 + (c*(2*b*B + A*c)*x^9)/9 + (B*c^2*x^11)
/11

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 14.7859, size = 49, normalized size = 0.89 \[ \frac{A b^{2} x^{5}}{5} + \frac{B c^{2} x^{11}}{11} + \frac{b x^{7} \left (2 A c + B b\right )}{7} + \frac{c x^{9} \left (A c + 2 B b\right )}{9} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((B*x**2+A)*(c*x**4+b*x**2)**2,x)

[Out]

A*b**2*x**5/5 + B*c**2*x**11/11 + b*x**7*(2*A*c + B*b)/7 + c*x**9*(A*c + 2*B*b)/
9

_______________________________________________________________________________________

Mathematica [A]  time = 0.0177405, size = 55, normalized size = 1. \[ \frac{1}{5} A b^2 x^5+\frac{1}{9} c x^9 (A c+2 b B)+\frac{1}{7} b x^7 (2 A c+b B)+\frac{1}{11} B c^2 x^{11} \]

Antiderivative was successfully verified.

[In]  Integrate[(A + B*x^2)*(b*x^2 + c*x^4)^2,x]

[Out]

(A*b^2*x^5)/5 + (b*(b*B + 2*A*c)*x^7)/7 + (c*(2*b*B + A*c)*x^9)/9 + (B*c^2*x^11)
/11

_______________________________________________________________________________________

Maple [A]  time = 0.001, size = 52, normalized size = 1. \[{\frac{B{c}^{2}{x}^{11}}{11}}+{\frac{ \left ( A{c}^{2}+2\,Bbc \right ){x}^{9}}{9}}+{\frac{ \left ( 2\,Abc+{b}^{2}B \right ){x}^{7}}{7}}+{\frac{A{b}^{2}{x}^{5}}{5}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((B*x^2+A)*(c*x^4+b*x^2)^2,x)

[Out]

1/11*B*c^2*x^11+1/9*(A*c^2+2*B*b*c)*x^9+1/7*(2*A*b*c+B*b^2)*x^7+1/5*A*b^2*x^5

_______________________________________________________________________________________

Maxima [A]  time = 1.36332, size = 69, normalized size = 1.25 \[ \frac{1}{11} \, B c^{2} x^{11} + \frac{1}{9} \,{\left (2 \, B b c + A c^{2}\right )} x^{9} + \frac{1}{5} \, A b^{2} x^{5} + \frac{1}{7} \,{\left (B b^{2} + 2 \, A b c\right )} x^{7} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^4 + b*x^2)^2*(B*x^2 + A),x, algorithm="maxima")

[Out]

1/11*B*c^2*x^11 + 1/9*(2*B*b*c + A*c^2)*x^9 + 1/5*A*b^2*x^5 + 1/7*(B*b^2 + 2*A*b
*c)*x^7

_______________________________________________________________________________________

Fricas [A]  time = 0.206529, size = 1, normalized size = 0.02 \[ \frac{1}{11} x^{11} c^{2} B + \frac{2}{9} x^{9} c b B + \frac{1}{9} x^{9} c^{2} A + \frac{1}{7} x^{7} b^{2} B + \frac{2}{7} x^{7} c b A + \frac{1}{5} x^{5} b^{2} A \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^4 + b*x^2)^2*(B*x^2 + A),x, algorithm="fricas")

[Out]

1/11*x^11*c^2*B + 2/9*x^9*c*b*B + 1/9*x^9*c^2*A + 1/7*x^7*b^2*B + 2/7*x^7*c*b*A
+ 1/5*x^5*b^2*A

_______________________________________________________________________________________

Sympy [A]  time = 0.059935, size = 56, normalized size = 1.02 \[ \frac{A b^{2} x^{5}}{5} + \frac{B c^{2} x^{11}}{11} + x^{9} \left (\frac{A c^{2}}{9} + \frac{2 B b c}{9}\right ) + x^{7} \left (\frac{2 A b c}{7} + \frac{B b^{2}}{7}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((B*x**2+A)*(c*x**4+b*x**2)**2,x)

[Out]

A*b**2*x**5/5 + B*c**2*x**11/11 + x**9*(A*c**2/9 + 2*B*b*c/9) + x**7*(2*A*b*c/7
+ B*b**2/7)

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.205457, size = 72, normalized size = 1.31 \[ \frac{1}{11} \, B c^{2} x^{11} + \frac{2}{9} \, B b c x^{9} + \frac{1}{9} \, A c^{2} x^{9} + \frac{1}{7} \, B b^{2} x^{7} + \frac{2}{7} \, A b c x^{7} + \frac{1}{5} \, A b^{2} x^{5} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^4 + b*x^2)^2*(B*x^2 + A),x, algorithm="giac")

[Out]

1/11*B*c^2*x^11 + 2/9*B*b*c*x^9 + 1/9*A*c^2*x^9 + 1/7*B*b^2*x^7 + 2/7*A*b*c*x^7
+ 1/5*A*b^2*x^5